package com.manage.system.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.manage.common.core.result.JsonResult;
import com.manage.system.api.entity.SysDictType;
import com.manage.system.api.request.dict.DictTypeAddOrEditParam;
import com.manage.system.api.request.dict.DictTypeQueryParam;

import java.util.List;

/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author zhangqing
 * @since 2021-11-23
 */
public interface ISysDictTypeService extends IService<SysDictType> {

    JsonResult findDictTypeListPage(DictTypeQueryParam dictTypeQueryParam);

    /**
     *
     * @param ids 字典类型id集合
     * @return 统一响应
     */
    JsonResult batchDelDictType(List<Long> ids);

    /**
     * 添加字典类型
     * @param dictTypeAddOrEditParam 参数
     * @return 统一响应
     */
    JsonResult addDictType(DictTypeAddOrEditParam dictTypeAddOrEditParam);

    /**
     * 修改字典类型
     * @param dictTypeAddOrEditParam 参数
     * @return 统一响应
     */
    JsonResult editDictType(DictTypeAddOrEditParam dictTypeAddOrEditParam);
}
